From cf9a686fc190755dba22f248a080470a1e568456 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 30 Dec 2025 14:36:18 +0100 Subject: [PATCH] modalDialog: Drop seat state check after grabs Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- js/ui/modalDialog.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index 03681ac2d..74fd156c6 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -234,11 +234,6 @@ export const ModalDialog = GObject.registerClass({ return true; const grab = Main.pushModal(this, {actionMode: this._actionMode}); - if (grab.get_seat_state() !== Clutter.GrabState.ALL) { - Main.popModal(grab); - return false; - } - this._grab = grab; Main.layoutManager.emit('system-modal-opened'); -- 2.39.5